module.exports = {
    error(title) {
        wx.showModal({
            title: '错误提示',
            content: title,
            showCancel:false,
            confirmColor:'#4db4ff',
        })
        // wx.showToast({
        //     title,
        //     icon:''
        //     image: "/assets/icon/toast-error.png"
        // })
    },

    warn(title) {
        wx.showToast({
            title,
            image: "/assets/icon/toast-warn.png"
        })
    }
}